<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>OrbbecSDK: header_cn/libobsensor/hpp/Frame.hpp 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="orbbec_icon.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OrbbecSDK
   &#160;<span id="projectnumber">1.8.3</span>
   </div>
   <div id="projectbrief">OrbbecSDK: 奥比中光 3D 相机开发套件</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li><a href="namespaces.html"><span>命名空间</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>文件成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_9a5345e98321307492e41331ab8e5636.html">header_cn</a></li><li class="navelem"><a class="el" href="dir_a57403e30bad3723557b0550251f8216.html">libobsensor</a></li><li class="navelem"><a class="el" href="dir_8243e961fc5f523c63be320c0718524a.html">hpp</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">Frame.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="Frame_8hpp.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;</div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="Types_8hpp.html">Types.hpp</a>&quot;</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;typeinfo&gt;</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">struct </span>FrameImpl;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceob.html">ob</a> {</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="keyword">class </span>StreamProfile;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="keyword">class </span>Filter;</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="namespaceob.html#aa530dba90a807bee70473e2ddd46f582">   35</a></span>&#160;<span class="keyword">class </span><a class="code" href="classob_1_1FrameHelper.html">FrameHelper</a>;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="keyword">typedef</span> std::function&lt;void(void *buffer, void *context)&gt; <a class="code" href="namespaceob.html#aa530dba90a807bee70473e2ddd46f582">BufferDestroyCallback</a>;</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classob_1_1Frame.html">   42</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1Frame.html">Frame</a> : <span class="keyword">public</span> std::enable_shared_from_this&lt;Frame&gt; {</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classob_1_1Frame.html#a2683616ec8b3346cf9412051779b9721">   44</a></span>&#160;    std::unique_ptr&lt;FrameImpl&gt; <a class="code" href="classob_1_1Frame.html#a2683616ec8b3346cf9412051779b9721">impl_</a>;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1Frame.html">Frame</a>(std::unique_ptr&lt;FrameImpl&gt; impl);</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <a class="code" href="classob_1_1Frame.html">Frame</a>(<a class="code" href="classob_1_1Frame.html">Frame</a> &amp;frame);</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="keyword">virtual</span> ~<a class="code" href="classob_1_1Frame.html">Frame</a>() noexcept;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    virtual <a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345">OBFrameType</a> type();</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    virtual <a class="code" href="ObTypes_8h.html#a30904eab1a667b797e7ce1099ba7c36a">OBFormat</a> format();</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    virtual uint64_t index();</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    virtual <span class="keywordtype">void</span> *data();</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    virtual uint32_t dataSize();</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    uint64_t timeStamp();</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    uint64_t timeStampUs();</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    uint64_t systemTimeStamp();</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    template &lt;typename T&gt; <span class="keywordtype">bool</span> is();</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div><div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="classob_1_1Frame.html#ad469213f43249aabce4b96d746527a62">  123</a></span>&#160;    template &lt;typename T&gt; std::shared_ptr&lt;T&gt; as() {</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;        <span class="keywordflow">if</span>(!is&lt;T&gt;()) {</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;            <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">&quot;unsupported operation, object&#39;s type is not require type&quot;</span>);</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;        }</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;        <span class="keywordflow">return</span> std::dynamic_pointer_cast&lt;T&gt;(shared_from_this());</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    }</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="classob_1_1Frame.html#a34f7bc7cd29643e53d23b7d500d21739">  132</a></span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classob_1_1Filter.html">Filter</a>;</div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="classob_1_1Frame.html#a2950f414c752afb074d9849f834ae58e">  133</a></span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classob_1_1Recorder.html">Recorder</a>;</div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="classob_1_1Frame.html#aed198f6baa08dbce96c148a0a65540c3">  134</a></span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classob_1_1FrameHelper.html">FrameHelper</a>;</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;};</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div><div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="classob_1_1VideoFrame.html">  141</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1VideoFrame.html">VideoFrame</a> : <span class="keyword">public</span> <a class="code" href="classob_1_1Frame.html">Frame</a> {</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1VideoFrame.html">VideoFrame</a>(<a class="code" href="classob_1_1Frame.html">Frame</a> &amp;frame);</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1VideoFrame.html">VideoFrame</a>(std::unique_ptr&lt;FrameImpl&gt; impl);</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    ~<a class="code" href="classob_1_1VideoFrame.html">VideoFrame</a>() noexcept <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    uint32_t width();</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;    uint32_t height();</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    <span class="keywordtype">void</span> *metadata();</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    uint32_t metadataSize();</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;    uint8_t pixelAvailableBitSize();</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;};</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;</div><div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="classob_1_1ColorFrame.html">  188</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1ColorFrame.html">ColorFrame</a> : <span class="keyword">public</span> <a class="code" href="classob_1_1VideoFrame.html">VideoFrame</a> {</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1ColorFrame.html">ColorFrame</a>(<a class="code" href="classob_1_1Frame.html">Frame</a> &amp;frame);</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1ColorFrame.html">ColorFrame</a>(std::unique_ptr&lt;FrameImpl&gt; impl);</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;    ~<a class="code" href="classob_1_1ColorFrame.html">ColorFrame</a>() noexcept <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;};</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;</div><div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="classob_1_1DepthFrame.html">  199</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1DepthFrame.html">DepthFrame</a> : <span class="keyword">public</span> <a class="code" href="classob_1_1VideoFrame.html">VideoFrame</a> {</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1DepthFrame.html">DepthFrame</a>(<a class="code" href="classob_1_1Frame.html">Frame</a> &amp;frame);</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1DepthFrame.html">DepthFrame</a>(std::unique_ptr&lt;FrameImpl&gt; impl);</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;    ~<a class="code" href="classob_1_1DepthFrame.html">DepthFrame</a>() noexcept <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;    <span class="keywordtype">float</span> getValueScale();</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;};</div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;</div><div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="classob_1_1IRFrame.html">  218</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1IRFrame.html">IRFrame</a> : <span class="keyword">public</span> <a class="code" href="classob_1_1VideoFrame.html">VideoFrame</a> {</div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1IRFrame.html">IRFrame</a>(<a class="code" href="classob_1_1Frame.html">Frame</a> &amp;frame);</div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1IRFrame.html">IRFrame</a>(std::unique_ptr&lt;FrameImpl&gt; impl);</div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;    ~<a class="code" href="classob_1_1IRFrame.html">IRFrame</a>() noexcept <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;    <a class="code" href="ObTypes_8h.html#a0bf6f74f3eaabbf4a71720b9363b2aa8">OBSensorType</a> getDataSource();</div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;};</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;</div><div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="classob_1_1PointsFrame.html">  237</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1PointsFrame.html">PointsFrame</a> : <span class="keyword">public</span> <a class="code" href="classob_1_1Frame.html">Frame</a> {</div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1PointsFrame.html">PointsFrame</a>(<a class="code" href="classob_1_1Frame.html">Frame</a> &amp;frame);</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1PointsFrame.html">PointsFrame</a>(std::unique_ptr&lt;FrameImpl&gt; impl);</div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;    ~<a class="code" href="classob_1_1PointsFrame.html">PointsFrame</a>() noexcept <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;</div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;    <span class="keywordtype">float</span> getPositionValueScale();</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;};</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;</div><div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="classob_1_1FrameSet.html">  256</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1FrameSet.html">FrameSet</a> : <span class="keyword">public</span> <a class="code" href="classob_1_1Frame.html">Frame</a> {</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1FrameSet.html">FrameSet</a>(std::unique_ptr&lt;FrameImpl&gt; impl);</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;    <span class="comment">// 数据帧集 ();</span></div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1FrameSet.html">FrameSet</a>(<a class="code" href="classob_1_1Frame.html">Frame</a> &amp;frame);</div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;    ~<a class="code" href="classob_1_1FrameSet.html">FrameSet</a>() noexcept <span class="keyword">override</span>;</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;</div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;    uint32_t frameCount();</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;    std::shared_ptr&lt;DepthFrame&gt; depthFrame();</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;</div><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;    std::shared_ptr&lt;ColorFrame&gt; colorFrame();</div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;    std::shared_ptr&lt;IRFrame&gt; irFrame();</div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;</div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;    std::shared_ptr&lt;PointsFrame&gt; pointsFrame();</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;    std::shared_ptr&lt;Frame&gt; getFrame(<a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345">OBFrameType</a> frameType);</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;</div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;    std::shared_ptr&lt;Frame&gt; getFrame(<span class="keywordtype">int</span> index);</div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;</div><div class="line"><a name="l00315"></a><span class="lineno"><a class="line" href="classob_1_1FrameSet.html#af9f0f1adbd5baee7830839447205af8d">  315</a></span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classob_1_1Pipeline.html">Pipeline</a>;</div><div class="line"><a name="l00316"></a><span class="lineno"><a class="line" href="classob_1_1FrameSet.html#a34f7bc7cd29643e53d23b7d500d21739">  316</a></span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classob_1_1Filter.html">Filter</a>;</div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;};</div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;</div><div class="line"><a name="l00323"></a><span class="lineno"><a class="line" href="classob_1_1AccelFrame.html">  323</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1AccelFrame.html">AccelFrame</a> : <span class="keyword">public</span> <a class="code" href="classob_1_1Frame.html">Frame</a> {</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1AccelFrame.html">AccelFrame</a>(<a class="code" href="classob_1_1Frame.html">Frame</a> &amp;frame);</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1AccelFrame.html">AccelFrame</a>(std::unique_ptr&lt;FrameImpl&gt; impl);</div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;    ~<a class="code" href="classob_1_1AccelFrame.html">AccelFrame</a>() noexcept <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;</div><div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;    <a class="code" href="structOBAccelValue.html">OBAccelValue</a> value();</div><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;</div><div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;    <span class="keywordtype">float</span> temperature();</div><div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;};</div><div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;</div><div class="line"><a name="l00347"></a><span class="lineno"><a class="line" href="classob_1_1GyroFrame.html">  347</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1GyroFrame.html">GyroFrame</a> : <span class="keyword">public</span> <a class="code" href="classob_1_1Frame.html">Frame</a> {</div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1GyroFrame.html">GyroFrame</a>(<a class="code" href="classob_1_1Frame.html">Frame</a> &amp;frame);</div><div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1GyroFrame.html">GyroFrame</a>(std::unique_ptr&lt;FrameImpl&gt; impl);</div><div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;    ~<a class="code" href="classob_1_1GyroFrame.html">GyroFrame</a>() noexcept <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;</div><div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;    <a class="code" href="structOBAccelValue.html">OBGyroValue</a> value();</div><div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;</div><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;    <span class="keywordtype">float</span> temperature();</div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;};</div><div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;</div><div class="line"><a name="l00371"></a><span class="lineno"><a class="line" href="classob_1_1FrameHelper.html">  371</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1FrameHelper.html">FrameHelper</a> {</div><div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;    <span class="keyword">static</span> std::shared_ptr&lt;Frame&gt; createFrame(<a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345">OBFrameType</a> type, <a class="code" href="ObTypes_8h.html#a30904eab1a667b797e7ce1099ba7c36a">OBFormat</a> format, uint32_t width, uint32_t height, uint32_t strideBytes);</div><div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;    <span class="keyword">static</span> std::shared_ptr&lt;Frame&gt; createFrameFromBuffer(<a class="code" href="ObTypes_8h.html#a30904eab1a667b797e7ce1099ba7c36a">OBFormat</a> format, uint32_t width, uint32_t height, uint8_t *buffer, uint32_t bufferSize,</div><div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;                                                        BufferDestroyCallback destroyCallback, <span class="keywordtype">void</span> *destroyCallbackContext);</div><div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;</div><div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;    <span class="keyword">static</span> std::shared_ptr&lt;FrameSet&gt; createFrameSet();</div><div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;</div><div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> pushFrame(std::shared_ptr&lt;Frame&gt; frameSet, <a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345">OBFrameType</a> frameType, std::shared_ptr&lt;Frame&gt; frame);</div><div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;</div><div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> setFrameSystemTimestamp(std::shared_ptr&lt;Frame&gt; frame, uint64_t systemTimestamp);</div><div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;</div><div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> setFrameDeviceTimestamp(std::shared_ptr&lt;Frame&gt; frame, uint64_t deviceTimestamp);</div><div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;</div><div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> setFrameDeviceTimestampUs(std::shared_ptr&lt;Frame&gt; frame, uint64_t deviceTimestampUs);</div><div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;};</div><div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;</div><div class="line"><a name="l00442"></a><span class="lineno"><a class="line" href="classob_1_1Frame.html#ae6ce510d6e741d3f46ec34d475074b6f">  442</a></span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt; <span class="keywordtype">bool</span> <a class="code" href="classob_1_1Frame.html#ae6ce510d6e741d3f46ec34d475074b6f">Frame::is</a>() {</div><div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;    <span class="keywordflow">switch</span>(this-&gt;type()) {</div><div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345a6ba1bbc1b9427f2c67e2acc4b282112c">OB_FRAME_IR_LEFT</a>:</div><div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345a04652540e40f05d30c2480c198c404c8">OB_FRAME_IR_RIGHT</a>:</div><div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345af12ee95e3a3735b7fe1b8edac31f1cb5">OB_FRAME_IR</a>:</div><div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;        <span class="keywordflow">return</span> (<span class="keyword">typeid</span>(T) == <span class="keyword">typeid</span>(<a class="code" href="classob_1_1IRFrame.html">IRFrame</a>) || <span class="keyword">typeid</span>(T) == <span class="keyword">typeid</span>(<a class="code" href="classob_1_1VideoFrame.html">VideoFrame</a>));</div><div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345afd7131a04efd09113d4bbda956d34a3f">OB_FRAME_DEPTH</a>:</div><div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;        <span class="keywordflow">return</span> (<span class="keyword">typeid</span>(T) == <span class="keyword">typeid</span>(<a class="code" href="classob_1_1DepthFrame.html">DepthFrame</a>) || <span class="keyword">typeid</span>(T) == <span class="keyword">typeid</span>(<a class="code" href="classob_1_1VideoFrame.html">VideoFrame</a>));</div><div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345a95a48824dfa906c01912a603237dd33f">OB_FRAME_COLOR</a>:</div><div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;        <span class="keywordflow">return</span> (<span class="keyword">typeid</span>(T) == <span class="keyword">typeid</span>(<a class="code" href="classob_1_1ColorFrame.html">ColorFrame</a>) || <span class="keyword">typeid</span>(T) == <span class="keyword">typeid</span>(<a class="code" href="classob_1_1VideoFrame.html">VideoFrame</a>));</div><div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345a4b4153b3e7fdaaef53473ec4f6c5342e">OB_FRAME_GYRO</a>:</div><div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;        <span class="keywordflow">return</span> (<span class="keyword">typeid</span>(T) == <span class="keyword">typeid</span>(<a class="code" href="classob_1_1GyroFrame.html">GyroFrame</a>));</div><div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345a1b86d0b5c396fa511d1844acae6044fa">OB_FRAME_ACCEL</a>:</div><div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;        <span class="keywordflow">return</span> (<span class="keyword">typeid</span>(T) == <span class="keyword">typeid</span>(<a class="code" href="classob_1_1AccelFrame.html">AccelFrame</a>));</div><div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345abd18356aa65d9f1990ed709dfab07f9e">OB_FRAME_SET</a>:</div><div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;        <span class="keywordflow">return</span> (<span class="keyword">typeid</span>(T) == <span class="keyword">typeid</span>(<a class="code" href="classob_1_1FrameSet.html">FrameSet</a>));</div><div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345ac922cae0440ba2aaf672ca230d19c75b">OB_FRAME_POINTS</a>:</div><div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;        <span class="keywordflow">return</span> (<span class="keyword">typeid</span>(T) == <span class="keyword">typeid</span>(<a class="code" href="classob_1_1PointsFrame.html">PointsFrame</a>));</div><div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;    <span class="keywordflow">default</span>:</div><div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;        std::cout &lt;&lt; <span class="stringliteral">&quot;ob::Frame::is() did not catch frame type:&quot;</span> &lt;&lt; (int)this-&gt;type() &lt;&lt; std::endl;</div><div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;        <span class="keywordflow">break</span>;</div><div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;    }</div><div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;}</div><div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;}  <span class="comment">// namespace ob</span></div><div class="ttc" id="ObTypes_8h_html_a42b4219d92627d3cf51af225ec58a345a04652540e40f05d30c2480c198c404c8"><div class="ttname"><a href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345a04652540e40f05d30c2480c198c404c8">OB_FRAME_IR_RIGHT</a></div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00192">ObTypes.h:192</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a30904eab1a667b797e7ce1099ba7c36a"><div class="ttname"><a href="ObTypes_8h.html#a30904eab1a667b797e7ce1099ba7c36a">OBFormat</a></div><div class="ttdeci">OBFormat</div><div class="ttdoc">描述像素格式的枚举值 </div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00199">ObTypes.h:199</a></div></div>
<div class="ttc" id="classob_1_1Recorder_html"><div class="ttname"><a href="classob_1_1Recorder.html">ob::Recorder</a></div><div class="ttdoc">Recorder 类, 实现帧录制功能 </div><div class="ttdef"><b>Definition:</b> <a href="RecordPlayback_8hpp_source.html#l00024">RecordPlayback.hpp:24</a></div></div>
<div class="ttc" id="classob_1_1Frame_html"><div class="ttname"><a href="classob_1_1Frame.html">ob::Frame</a></div><div class="ttdoc">定义 Frame 类 </div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00042">Frame.hpp:42</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a42b4219d92627d3cf51af225ec58a345a4b4153b3e7fdaaef53473ec4f6c5342e"><div class="ttname"><a href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345a4b4153b3e7fdaaef53473ec4f6c5342e">OB_FRAME_GYRO</a></div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00190">ObTypes.h:190</a></div></div>
<div class="ttc" id="classob_1_1FrameSet_html"><div class="ttname"><a href="classob_1_1FrameSet.html">ob::FrameSet</a></div><div class="ttdoc">定义 FrameSet 类, 继承 Frame 类 </div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00256">Frame.hpp:256</a></div></div>
<div class="ttc" id="classob_1_1VideoFrame_html"><div class="ttname"><a href="classob_1_1VideoFrame.html">ob::VideoFrame</a></div><div class="ttdoc">定义 VideoFrame 类, 继承 Frame 类 </div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00141">Frame.hpp:141</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a42b4219d92627d3cf51af225ec58a345a95a48824dfa906c01912a603237dd33f"><div class="ttname"><a href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345a95a48824dfa906c01912a603237dd33f">OB_FRAME_COLOR</a></div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00185">ObTypes.h:185</a></div></div>
<div class="ttc" id="structOBAccelValue_html"><div class="ttname"><a href="structOBAccelValue.html">OBAccelValue</a></div><div class="ttdoc">加速度计和陀螺仪的数据结构体 </div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00497">ObTypes.h:497</a></div></div>
<div class="ttc" id="classob_1_1Filter_html"><div class="ttname"><a href="classob_1_1Filter.html">ob::Filter</a></div><div class="ttdoc">Filter 类, 为点云 Filter、格式转换 Filter、压缩解压 Filter 的基类 </div><div class="ttdef"><b>Definition:</b> <a href="Filter_8hpp_source.html#l00019">Filter.hpp:19</a></div></div>
<div class="ttc" id="namespaceob_html"><div class="ttname"><a href="namespaceob.html">ob</a></div><div class="ttdef"><b>Definition:</b> <a href="Context_8hpp_source.html#l00014">Context.hpp:14</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a42b4219d92627d3cf51af225ec58a345a6ba1bbc1b9427f2c67e2acc4b282112c"><div class="ttname"><a href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345a6ba1bbc1b9427f2c67e2acc4b282112c">OB_FRAME_IR_LEFT</a></div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00191">ObTypes.h:191</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a0bf6f74f3eaabbf4a71720b9363b2aa8"><div class="ttname"><a href="ObTypes_8h.html#a0bf6f74f3eaabbf4a71720b9363b2aa8">OBSensorType</a></div><div class="ttdeci">OBSensorType</div><div class="ttdoc">描述传感器类型的枚举值 </div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00150">ObTypes.h:150</a></div></div>
<div class="ttc" id="classob_1_1PointsFrame_html"><div class="ttname"><a href="classob_1_1PointsFrame.html">ob::PointsFrame</a></div><div class="ttdoc">定义 PointsFrame 类, 继承 VideoFrame 类 </div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00237">Frame.hpp:237</a></div></div>
<div class="ttc" id="Types_8hpp_html"><div class="ttname"><a href="Types_8hpp.html">Types.hpp</a></div><div class="ttdoc">提供 SDK 的结构体、枚举常量定义（依赖 libobsensor/h/ObTypes.h） </div></div>
<div class="ttc" id="namespaceob_html_aa530dba90a807bee70473e2ddd46f582"><div class="ttname"><a href="namespaceob.html#aa530dba90a807bee70473e2ddd46f582">ob::BufferDestroyCallback</a></div><div class="ttdeci">std::function&lt; void(void *buffer, void *context)&gt; BufferDestroyCallback</div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00035">Frame.hpp:35</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a42b4219d92627d3cf51af225ec58a345afd7131a04efd09113d4bbda956d34a3f"><div class="ttname"><a href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345afd7131a04efd09113d4bbda956d34a3f">OB_FRAME_DEPTH</a></div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00186">ObTypes.h:186</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a42b4219d92627d3cf51af225ec58a345a1b86d0b5c396fa511d1844acae6044fa"><div class="ttname"><a href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345a1b86d0b5c396fa511d1844acae6044fa">OB_FRAME_ACCEL</a></div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00187">ObTypes.h:187</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a42b4219d92627d3cf51af225ec58a345ac922cae0440ba2aaf672ca230d19c75b"><div class="ttname"><a href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345ac922cae0440ba2aaf672ca230d19c75b">OB_FRAME_POINTS</a></div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00189">ObTypes.h:189</a></div></div>
<div class="ttc" id="classob_1_1GyroFrame_html"><div class="ttname"><a href="classob_1_1GyroFrame.html">ob::GyroFrame</a></div><div class="ttdoc">定义 GyroFrame 类, 继承 Frame 类 </div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00347">Frame.hpp:347</a></div></div>
<div class="ttc" id="classob_1_1AccelFrame_html"><div class="ttname"><a href="classob_1_1AccelFrame.html">ob::AccelFrame</a></div><div class="ttdoc">定义 AccelFrame 类, 继承 Frame 类 </div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00323">Frame.hpp:323</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a42b4219d92627d3cf51af225ec58a345af12ee95e3a3735b7fe1b8edac31f1cb5"><div class="ttname"><a href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345af12ee95e3a3735b7fe1b8edac31f1cb5">OB_FRAME_IR</a></div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00184">ObTypes.h:184</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a42b4219d92627d3cf51af225ec58a345"><div class="ttname"><a href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345">OBFrameType</a></div><div class="ttdeci">OBFrameType</div><div class="ttdoc">描述帧类型的枚举值 </div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00181">ObTypes.h:181</a></div></div>
<div class="ttc" id="classob_1_1Frame_html_ae6ce510d6e741d3f46ec34d475074b6f"><div class="ttname"><a href="classob_1_1Frame.html#ae6ce510d6e741d3f46ec34d475074b6f">ob::Frame::is</a></div><div class="ttdeci">bool is()</div><div class="ttdoc">检查数据帧对象的运行时类型是否与给定类型兼容 </div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00442">Frame.hpp:442</a></div></div>
<div class="ttc" id="classob_1_1ColorFrame_html"><div class="ttname"><a href="classob_1_1ColorFrame.html">ob::ColorFrame</a></div><div class="ttdoc">定义 ColorFrame 类, 继承 VideoFrame 类 </div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00188">Frame.hpp:188</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a42b4219d92627d3cf51af225ec58a345abd18356aa65d9f1990ed709dfab07f9e"><div class="ttname"><a href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345abd18356aa65d9f1990ed709dfab07f9e">OB_FRAME_SET</a></div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00188">ObTypes.h:188</a></div></div>
<div class="ttc" id="classob_1_1Pipeline_html"><div class="ttname"><a href="classob_1_1Pipeline.html">ob::Pipeline</a></div><div class="ttdoc">Pipeline 类, 实现开关流、帧同步等 </div><div class="ttdef"><b>Definition:</b> <a href="Pipeline_8hpp_source.html#l00030">Pipeline.hpp:30</a></div></div>
<div class="ttc" id="classob_1_1FrameHelper_html"><div class="ttname"><a href="classob_1_1FrameHelper.html">ob::FrameHelper</a></div><div class="ttdoc">定义 FrameHelper 类 </div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00371">Frame.hpp:371</a></div></div>
<div class="ttc" id="classob_1_1IRFrame_html"><div class="ttname"><a href="classob_1_1IRFrame.html">ob::IRFrame</a></div><div class="ttdoc">定义 IRFrame 类, 继承 VideoFrame 类 </div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00218">Frame.hpp:218</a></div></div>
<div class="ttc" id="classob_1_1DepthFrame_html"><div class="ttname"><a href="classob_1_1DepthFrame.html">ob::DepthFrame</a></div><div class="ttdoc">定义 DepthFrame 类, 继承 VideoFrame 类 </div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00199">Frame.hpp:199</a></div></div>
<div class="ttc" id="classob_1_1Frame_html_a2683616ec8b3346cf9412051779b9721"><div class="ttname"><a href="classob_1_1Frame.html#a2683616ec8b3346cf9412051779b9721">ob::Frame::impl_</a></div><div class="ttdeci">std::unique_ptr&lt; FrameImpl &gt; impl_</div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00044">Frame.hpp:44</a></div></div>
<div class="ttc" id="ObTypes_8h_html_aa0add2ff45ff52cc75dc92d44f883fbf"><div class="ttname"><a href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a></div><div class="ttdeci">#define OB_EXTENSION_API</div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00025">ObTypes.h:25</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2023年 十一月 24日 星期五 10:56:17 , 为 OrbbecSDK使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
